| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRSetAngularUnits function to set the type of unit used when specifying angles.
OSErr QTVRSetAngularUnits (QTVRInstance qtvr, QTVRAngularUnits units);
The QTVRSetAngularUnits function sets the type of angular units to be used in all subsequent QuickTime VR Manager calls for the QuickTime VR movie specified by the qtvr parameter to the unit type specified by the units parameter.
Use QTVRGetAngularUnits [link] to get the type of angular unit used by a QuickTime VR movie. Listing 2-3 illustrates the use of QTVRSetAngularUnits .
| Previous | Chapter contents | Chapter top | Section top | Next |